import request from '@/utils/request'

const api_name = '/admin/statistics'
const service_name = 'statistics'

export default {

    //预约统计
    getCountMap(searchObj) {
        return request({
            // url: `${service_name}${api_name}/getCountMap`,
            url: `order/api/order/getMonthCountMap`,
            method: 'post',
            params: searchObj
        })
    },

    //查询医院列表
    queryHostList() {
        return request({
            // url: `${service_name}${api_name}/getCountMap`,
            url: `order/api/order/queryHostList`,
            method: 'post'
        })
    },

    //查询年份
    queryYearList() {
        return request({
            // url: `${service_name}${api_name}/getCountMap`,
            url: `order/api/order/queryYearList`,
            method: 'post'
        })
    }
}
